package com.ruoyi.ldzlsb.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备报修单对象 sb_repair_order
 * 
 * @author anli
 * @date 2025-01-11
 */
public class SbRepairOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报修ID */
    private Long repairId;

    /** 报修单号 */
    @Excel(name = "报修单号")
    private String repairCode;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long equipmentId;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipmentCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private String faultType;

    /** 故障等级 */
    @Excel(name = "故障等级")
    private String faultLevel;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String faultDescription;

    /** 故障发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "故障发生时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date faultTime;

    /** 报修人 */
    @Excel(name = "报修人")
    private String reportPerson;

    /** 报修人电话 */
    @Excel(name = "报修人电话")
    private String reportPhone;

    /** 报修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报修时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reportTime;

    /** 优先级 */
    @Excel(name = "优先级")
    private String priority;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 处理人 */
    @Excel(name = "处理人")
    private String handlePerson;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String handleResult;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    /** 维修费用 */
    @Excel(name = "维修费用")
    private BigDecimal cost;

    /** 逻辑删除 */
    private String isDelete;

    public void setRepairId(Long repairId) 
    {
        this.repairId = repairId;
    }

    public Long getRepairId() 
    {
        return repairId;
    }
    public void setRepairCode(String repairCode) 
    {
        this.repairCode = repairCode;
    }

    public String getRepairCode() 
    {
        return repairCode;
    }
    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentCode(String equipmentCode) 
    {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentCode() 
    {
        return equipmentCode;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setFaultType(String faultType) 
    {
        this.faultType = faultType;
    }

    public String getFaultType() 
    {
        return faultType;
    }
    public void setFaultLevel(String faultLevel) 
    {
        this.faultLevel = faultLevel;
    }

    public String getFaultLevel() 
    {
        return faultLevel;
    }
    public void setFaultDescription(String faultDescription) 
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription() 
    {
        return faultDescription;
    }
    public void setFaultTime(Date faultTime) 
    {
        this.faultTime = faultTime;
    }

    public Date getFaultTime() 
    {
        return faultTime;
    }
    public void setReportPerson(String reportPerson) 
    {
        this.reportPerson = reportPerson;
    }

    public String getReportPerson() 
    {
        return reportPerson;
    }
    public void setReportPhone(String reportPhone) 
    {
        this.reportPhone = reportPhone;
    }

    public String getReportPhone() 
    {
        return reportPhone;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setHandlePerson(String handlePerson) 
    {
        this.handlePerson = handlePerson;
    }

    public String getHandlePerson() 
    {
        return handlePerson;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setHandleResult(String handleResult) 
    {
        this.handleResult = handleResult;
    }

    public String getHandleResult() 
    {
        return handleResult;
    }
    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }
    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }
    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return "SbRepairOrder{" +
                "repairId=" + repairId +
                ", repairCode='" + repairCode + '\'' +
                ", equipmentId=" + equipmentId +
                ", equipmentCode='" + equipmentCode + '\'' +
                ", equipmentName='" + equipmentName + '\'' +
                ", faultType='" + faultType + '\'' +
                ", faultLevel='" + faultLevel + '\'' +
                ", faultDescription='" + faultDescription + '\'' +
                ", faultTime=" + faultTime +
                ", reportPerson='" + reportPerson + '\'' +
                ", reportPhone='" + reportPhone + '\'' +
                ", reportTime=" + reportTime +
                ", priority='" + priority + '\'' +
                ", status='" + status + '\'' +
                ", handlePerson='" + handlePerson + '\'' +
                ", handleTime=" + handleTime +
                ", handleResult='" + handleResult + '\'' +
                ", closeTime=" + closeTime +
                ", cost=" + cost +
                ", isDelete='" + isDelete + '\'' +
                '}';
    }
} 